package com.lottery.game.core.modules.mapper;


import com.lottery.game.core.modules.entity.game.GameRoomThread;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GameRoomThreadDao extends BaseDao<GameRoomThread> {

	 List<GameRoomThread> findList();

	 GameRoomThread get(@Param("threadId") String threadId);

	 GameRoomThread getByRoomType(@Param("roomType") String roomType);

	 Integer addGameRoomThread(@Param("threadId") String threadId,
          @Param("threadName") String threadName, @Param("roomType") String roomType);

	 Integer updateStopStatus(@Param("stopReason") String stopReason,
          @Param("roomType") String roomType);

	 Integer updateActiveStatus(@Param("roomType") String roomType);

}
